<?php

/**
 * JingYao-backend
 *
 * @link     https://gitee.com/wang-zhihui-release/jingyao-backend
 * @apiDocument https://gitee.com/wang-zhihui-release/jingyao-backend/wikis/
 */

use App\Http\Controllers\AdminAuthController;
use App\Http\Controllers\AdminLetterController;
use App\Http\Controllers\AdminLogController;
use App\Http\Controllers\AdminUserController;
use App\Http\Controllers\ArticleController;
use App\Http\Controllers\AssessTemplateController;
use App\Http\Controllers\AssessUserController;
use App\Http\Controllers\BannerController;
use App\Http\Controllers\CompanyController;
use App\Http\Controllers\CompanyHonorDisgraceController;
use App\Http\Controllers\CompanyMessageController;
use App\Http\Controllers\CoverConfigController;
use App\Http\Controllers\DataChartController;
use App\Http\Controllers\DevController;
use App\Http\Controllers\DevelopingController;
use App\Http\Controllers\EnumDbController;
use App\Http\Controllers\FlowController;
use App\Http\Controllers\GridController;
use App\Http\Controllers\HomeController;
use App\Http\Controllers\HonorController;
use App\Http\Controllers\HouserController;
use App\Http\Controllers\HouserScoreController;
use App\Http\Controllers\LookofVillageController;
use App\Http\Controllers\MessageController;
use App\Http\Controllers\PassCardController;
use App\Http\Controllers\PosterInstitutionController;
use App\Http\Controllers\ProposalController;
use App\Http\Controllers\QingfengController;
use App\Http\Controllers\RecruitmentController;
use App\Http\Controllers\RentHouseController;
use App\Http\Controllers\SearchNoticeController;
use App\Http\Controllers\UploadController;
use App\Http\Controllers\UserController;
use App\Http\Controllers\XcxController;
use Illuminate\Support\Facades\Route;

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return view('welcome');
});

Route::middleware('admin_auth')->group(function () {
    // 审核出入证
    Route::post('/user/checkPassCard', [UserController::class, 'checkPassCard']);
    // 管理员 banner list
    Route::get('/banner/adminList', [BannerController::class, 'getAdminBannerLists']);
    // 创建 banenr
    Route::post('/banner/create', [BannerController::class, 'create']);
    // 修改 banner
    Route::post('/banner/update', [BannerController::class, 'update']);
    // 删除 banner
    Route::post('/banner/delete', [BannerController::class, 'delete']);
    // 获取小程序路由
    Route::get('/banner/getXcxUrl', [BannerController::class, 'getXcxPageList']);
    // 获取发展历程列表
    Route::get('/developing/adminList', [DevelopingController::class, 'getAdminList']);
    // 清风-获取领导列表
    Route::get('/qingfeng/leaderAdminList', [QingfengController::class, 'getAdminLeaderList']);
    // 清风-删除领导
    Route::post('/qingfeng/deleteLeader', [QingfengController::class, 'deleteLeader']);
    // 清风-修改领导
    Route::post('/qingfeng/updateLeader', [QingfengController::class, 'updateLeader']);
    // 清风-领导排序
    Route::post('/qingfeng/leaderSort', [QingfengController::class, 'setLeaderSort']);
    // 广而告之-管理员查看的列表
    Route::get('/poster/getAdminList', [PosterInstitutionController::class, 'getAdminList']);
    // 广而告之-创建
    Route::post('/poster/institutionsCreate', [PosterInstitutionController::class, 'create']);
    // 广而告之-修改
    Route::post('/poster/institutionsUpdate', [PosterInstitutionController::class, 'update']);
    // 广而告之-删除
    Route::post('/poster/institutionsDelete', [PosterInstitutionController::class, 'delete']);
    // 出入证列表
    Route::get('/passcard/list', [PassCardController::class, 'getList']);
    // 出入证详情
    Route::get('/passcard/detail', [PassCardController::class, 'detail']);
    // 出入证删除
    Route::post('/passcard/delete', [PassCardController::class, 'delete']);
    // 房东列表
    Route::get('/houser/list', [UserController::class, 'houserList']);
    // 房东详情
    Route::get('/houser/adminDetail', [UserController::class, 'houserDetail']);
    // 修改发展历程
    Route::post('/developing/update', [DevelopingController::class, 'update']);
    // 清风东窑-创建领导
    Route::post('/qingfeng/createLeader', [QingfengController::class, 'createLeader']);
    // 清风东窑-部门列表
    Route::get('/qingfeng/adminInstitutionList', [QingfengController::class, 'getAdminInstitutions']);
    // 清风东窑-创建部门
    Route::post('/qingfeng/createInstitutions', [QingfengController::class, 'createInstitutions']);
    // 清风东窑-修改部门
    Route::post('/qingfeng/updateInstitution', [QingfengController::class, 'updateInstitution']);
    // 清风东窑-删除部门
    Route::post('/qingfeng/deleteInstitution', [QingfengController::class, 'deleteInstitution']);
    // 清风东窑-删除管理评价
    Route::post('/qingfeng/deleteQingfengProposal', [QingfengController::class, 'deleteQingfengProposal']);
    // 创建系统消息
    Route::post('/message/create', [MessageController::class, 'create']);
    // 修改系统消息
    Route::post('/message/update', [MessageController::class, 'update']);
    // 删除系统消息
    Route::post('/message/delete', [MessageController::class, 'delete']);
    // 创建荣辱榜
    Route::post('/honor/create', [HonorController::class, 'craete']);
    // 修改荣辱榜
    Route::post('/honor/update', [HonorController::class, 'update']);
    // 删除荣辱榜
    Route::post('/honor/delete', [HonorController::class, 'delete']);
    // 创建公司
    Route::post('/company/create', [CompanyController::class, 'create']);
    // 修改企业
    Route::post('/company/update', [CompanyController::class, 'update']);
    // 创建公司公告
    Route::post('/companyMessage/create', [CompanyMessageController::class, 'create']);
    // 修改公司公告
    Route::post('/companyMessage/update', [CompanyMessageController::class, 'update']);
    // 储存用户信息为草稿
    Route::post('/user/draft', [UserController::class, 'saveUserProfileAsDraft']);
    // 管理员创建用户
    Route::post('/user/createUserFromAdmin', [UserController::class, 'createUserFromAdmin']);
    // 获取用户详情
    Route::get('/user/adminDetail', [UserController::class, 'getUserDetail']);
    // 获取用户审核信息
    Route::get('/user/adminUserCheckData', [UserController::class, 'getUserCheckData']);
    // 用户列表
    Route::get('/user/adminUserList', [UserController::class, 'getUserProfileList']);
    // 非流动人口列表
    Route::get('/user/adminNotFlowUserList', [UserController::class, 'getNotFlowUser']);
    // 修改人口信息
    Route::post('/user/adminUpdateUserProfile', [UserController::class, 'adminUpdateUserProfile']);
    // 创建文章
    Route::post('/article/create', [ArticleController::class, 'create']);
    // 修改文章
    Route::post('/article/update', [ArticleController::class, 'update']);
    // 删除文章
    Route::post('/article/delete', [ArticleController::class, 'delete']);
    // 创建管理员
    Route::post('/user/createAdminUser', [UserController::class, 'createAdminUser']);
    // 审核房东房屋(这个暂时不用了)
    Route::any('/houser/checkHouse', [HouserController::class, 'checkHouserHouse']);
    // 审核房屋
    Route::post('/house/check', [HouserController::class, 'checkHouse']);
    // 获取所有后台角色
    Route::get('/admin/getAdminRoles', [AdminAuthController::class, 'getRoles']);
    // 获取所有的操作
    Route::get('/admin/getAdminActions', [AdminAuthController::class, 'getActions']);
    // 设置对应角色的权限
    Route::any('/admin/setRolesActions', [AdminAuthController::class, 'setRolesActions']);
    // 上传各种附件
    Route::post('/upload/office', [UploadController::class, 'uploadOffice']);
    // 审核用户信息
    Route::post('/user/check', [UserController::class, 'check']);
    // 获取全部的清风意见
    Route::get('/qingfeng/getAllQingfengProposals', [QingfengController::class, 'getAllQingfengProposals']);
    // 获取清风意见详情
    Route::get('/qingfeng/getAdminQingfengProposalDetail', [QingfengController::class, 'getAdminQingfengProposalDetail']);
    // 获取网格管理列表
    Route::get('/grid/adminList', [GridController::class, 'getAdminList']);
    // 创建网格
    Route::post('/grid/create', [GridController::class, 'create']);
    // 修改网格
    Route::post('/grid/update', [GridController::class, 'update']);
    // 删除网格
    Route::post('/grid/delete', [GridController::class, 'delete']);
    // 村情村貌-管理员列表
    Route::get('/lookofVillage/adminList', [LookofVillageController::class, 'getAdminList']);
    // 村情村貌-创建
    Route::post('/lookofVillage/create', [LookofVillageController::class, 'create']);
    // 村情村貌-修改
    Route::post('/lookofVillage/update', [LookofVillageController::class, 'update']);
    // 村情村貌-删除
    Route::post('/lookofVillage/delete', [LookofVillageController::class, 'delete']);
    // 村情村貌-设置 banner
    Route::post('/lookofVillage/setBanner', [LookofVillageController::class, 'setBanner']);
    // 村情村貌-设置小程序 banner
    Route::post('/lookofVillage/setXcxBanner', [LookofVillageController::class, 'setXcxBanner']);
    // 系统消息-列表
    Route::get('/message/adminList', [MessageController::class, 'getAdminList']);
    // 流动人口用户数据导出
    Route::get('/user/exportFlowUser', [UserController::class, 'exportUserFromAdmin']);
    // 非流动人口数据导出
    Route::get('/user/exportNotFlowUser', [UserController::class, 'exportNotFlowUserFromAdmin']);
    // 获取意见箱列表
    Route::get('/proposal/adminList', [ProposalController::class, 'getList']);
    // 回复意见
    Route::post('/proposal/reMessage', [ProposalController::class, 'reMessage']);
    // 审核启事
    Route::any('/searchNotice/check', [SearchNoticeController::class, 'check']);
    // 删除启事
    Route::post('/searchNotice/delete', [SearchNoticeController::class, 'delete']);
    // 对用户进行考核
    Route::post('/assessUser/assess', [AssessUserController::class, 'assess']);
    // 获取考核模版
    Route::get('/assessUser/assessTemp', [AssessUserController::class, 'assessTemp']);
    // 创建一个考核
    Route::any('/assessTemplate/create', [AssessTemplateController::class, 'create']);
    // 修改考核
    Route::any('/assessTemplate/update', [AssessTemplateController::class, 'update']);
    // 删除考核
    Route::post('/assessTemplate/delete', [AssessTemplateController::class, 'delete']);
    // 考核列表
    Route::get('/assessTemplate/list', [AssessTemplateController::class, 'getLists']);
    // 模版详情
    Route::get('/assessTemplate/detail', [AssessTemplateController::class, 'detail']);
    // 日志列表
    Route::get('/adminLog/getList', [AdminLogController::class, 'getList']);
    // 修改模版状态
    Route::post('/assessTemp/status', [AssessTemplateController::class, 'status']);
    // 删除用户
    Route::post('/user/deleteProfile', [UserController::class, 'deleteUserProfile']);
    // 创建行业枚举
    Route::post('/industry/create', [EnumDbController::class, 'createIndustry']);
    // 修改行业枚举
    Route::post('/industry/update', [EnumDbController::class, 'updateIndustry']);
    // 删除行业枚举
    Route::post('/industry/delete', [EnumDbController::class, 'deleteIndustry']);
    // 获取用户的权限
    Route::get('/admin/getUserRoleActions', [AdminAuthController::class, 'getUserRoleActions']);
    // 获取管理员
    Route::get('/admin/getAdminUsers', [AdminAuthController::class, 'getAdminUsers']);
    // 封禁管理员
    Route::post('/admin/disabledAdminUser', [AdminAuthController::class, 'disabledAdminUser']);
    // 解禁管理员
    Route::post('/admin/enableAdminUser', [AdminAuthController::class, 'enableAdminUser']);
    // 创建角色
    Route::post('/admin/createRole', [AdminAuthController::class, 'createRole']);
    // 修改角色
    Route::post('/admin/updateRole', [AdminAuthController::class, 'updateRole']);
    // 获取角色的所有权限
    Route::any('/admin/getRoleActions', [AdminAuthController::class, 'getRoleActions']);
    // 分配用户进某个角色
    Route::post('/admin/setUserRole', [AdminAuthController::class, 'setUserRole']);
    // 修改管理员信息
    Route::post('/admin/updateAdminUser', [AdminAuthController::class, 'updateAdminUser']);
    // 考核管理员
    Route::post('/admin/assessAdminUser', [AdminUserController::class, 'assessAdminUser']);
    // 数据大屏-总人口
    Route::get('/admin/chart/userCount', [DataChartController::class, 'getUserProfileCount']);
    // 数据大屏-流动人口数
    Route::get('/admin/chart/flowUserCount', [DataChartController::class, 'getFlowUserCount']);
    // 数据大屏-非流动人口
    Route::get('/admin/chart/notFlowUserCount', [DataChartController::class, 'getNotFlowUserCount']);
    // 数据大屏-今天昨天流动人口数量比对
    Route::get('/admin/chart/getDayFlowUserDiff', [DataChartController::class, 'getDayFlowUserDiff']);
    // 数据大屏-工作情况
    Route::get('/admin/chart/getWorkRate', [DataChartController::class, 'getWorkRate']);
    // 数据大屏-人口分布
    Route::get('/admin/chart/getProvince', [DataChartController::class, 'getProvince']);
    // 数据大屏-性别分布
    Route::get('/admin/chart/getSexs', [DataChartController::class, 'getSexs']);
    // 数据大屏-身份分布
    Route::get('/admin/chart/getUserIdentity', [DataChartController::class, 'getIdentifies']);
    // 数据大屏-行业分布
    Route::get('/admin/chart/getIndustries', [DataChartController::class, 'getIndustries']);
    // 数据大屏-年龄分布
    Route::get('/admin/chart/getAges', [DataChartController::class, 'getAges']);
    // 数据大屏-片区分布
    Route::get('/admin/chart/area', [DataChartController::class, 'getAreas']);
    // 数据大屏-学历
    Route::get('/admin/chart/getEducation', [DataChartController::class, 'getEducation']);
    // 获取月度流动人口
    Route::get('/admin/chart/getMonthUserCount', [DataChartController::class, 'getMonthUsers']);
    // 后台创建寻人启事
    Route::post('/searchNotice/adminCreate', [SearchNoticeController::class, 'adminCreate']);
    // 删除管理员
    Route::post('/adminUser/delete', [AdminUserController::class, 'deleteAdminUser']);
    // 设置首页相关背景图
    Route::post('/cover/update', [CoverConfigController::class, 'update']);
    // 获取所有评分列表
    Route::get('/houser/scoreList', [HouserScoreController::class, 'getScoreList']);
    // 审核房屋评分
    Route::post('/houser/checkScore', [HouserScoreController::class, 'checkHouserScore']);
    // 设置房东分数
    Route::post('/houser/adminSetScore', [HouserScoreController::class, 'adminSetHouserScore']);
    // 取消后台设置分数
    Route::post('/houser/adminUnSetHouserScore', [HouserScoreController::class, 'adminUnSetHouserScore']);
    // 数据大屏-企业分布
    Route::get('/admin/chart/companyArea', [DataChartController::class, 'getCompanyArea']);
    // 数据大屏-疫苗接种
    Route::get('/admin/chart/vaccinations', [DataChartController::class, 'getVaccinations']);
    // 未诉先办-删除
    Route::post('/proposal/delete', [ProposalController::class, 'deleteProposal']);
    // 获取企业列表
    Route::get('/company/adminList', [CompanyController::class, 'getCompanyAdminList']);
    // 审核企业
    Route::post('/check/company', [CompanyController::class, 'checkCompany']);
    // 获取全部流程图
    Route::get('/flow/list', [FlowController::class, 'getLists']);
    // 创建/编辑流程图
    Route::post('/flow/set', [FlowController::class, 'setFlow']);
    // 删除流程图
    Route::post('/flow/delete', [FlowController::class, 'deleteFlow']);
    // 删除企业
    Route::post('/company/delete', [CompanyController::class, 'deleteCompany']);
    // 未诉先办-详情
    Route::get('/proposal/adminDetail', [ProposalController::class, 'adminGetProposalDetails']);
    // 审核企业
    Route::post('/check/company', [CompanyController::class, 'checkCompany']);
    // 考核企业
    Route::post('/assess/company', [CompanyController::class, 'assessCompany']);
    // 村委考核信息
    Route::get('/adminUser/assessLogs', [AdminUserController::class, 'getAdminUserAssessLog']);
    // 招聘列表
    Route::get('/recruitment/adminList', [RecruitmentController::class, 'getAdminList']);
    // 招聘详情
    Route::get('/recruitment/adminDetail', [RecruitmentController::class, 'detailAdmin']);
    // 审核招聘
    Route::post('/recruitment/check', [RecruitmentController::class, 'checkRecruitment']);
    // 设置招聘过期时间
    Route::post('/recruitment/expire', [RecruitmentController::class, 'setExpireTime']);
    // 招聘-删除
    Route::post('/recruitment/delete', [RecruitmentController::class, 'delete']);
    // 租房列表
    Route::get('/rentHouse/adminList', [RentHouseController::class, 'getAdminList']);
    // 租房详情
    Route::get('/rentHouse/adminDetail', [RentHouseController::class, 'adminDetail']);
    // 租房审核
    Route::post('/rentHouse/check', [RentHouseController::class, 'check']);
    // 租房删除
    Route::post('/rentHouse/delete', [RentHouseController::class, 'delete']);
    // 设置租房排名
    Route::post('/rentHouse/setOrder', [RentHouseController::class, 'setRentHouseOrder']);
    // 设置租房过期时间
    Route::post('/rentHouse/setExpireTime', [RentHouseController::class, 'setExpireTime']);
    // 企业荣辱榜列表
    Route::get('/companyHonor/adminList', [CompanyHonorDisgraceController::class, 'getList']);
    // 创建企业荣辱榜
    Route::post('/companyHonor/create', [CompanyHonorDisgraceController::class, 'create']);
    // 修改企业荣辱榜
    Route::post('/companyHonor/update', [CompanyHonorDisgraceController::class, 'update']);
    // 企业荣辱榜详情
    Route::get('/companyHonor/adminDetail', [CompanyHonorDisgraceController::class, 'detail']);
    // 删除企业荣辱榜
    Route::post('/companyHonor/delete', [CompanyHonorDisgraceController::class, 'delete']);
});

Route::get('/devGet', [DevController::class, 'devGet']);
Route::post('/devPost', [DevController::class, 'devPost']);
Route::get('/devError', [DevController::class, 'devError']);
Route::post('/devUpload', [DevController::class, 'devUpload']);

Route::get('/download/article', [ArticleController::class, 'downloadArticle']);

Route::get('/pull_test_admin', [DevController::class, 'pullTestAdmin']);
Route::get('/pull_test_fe', [DevController::class, 'pullTestFe']);

// 小程序首页信息流
Route::get('/home/homePage', [HomeController::class, 'homePage']);
// 首页搜索
Route::get('/home/homeSearch', [HomeController::class, 'homeSearch']);

// 用户的密保问题列表
Route::get('/user/questions', [UserController::class, 'getQuestions']);
// 注册
Route::post('/user/reg', [UserController::class, 'reg']);
// 获取登陆验证码
Route::get('/user/getVcode', [UserController::class, 'getVcode']);
// 获取后台登陆验证码
Route::get('/user/getAdminVcode', [UserController::class, 'getAdminVcode']);
// 用户登陆
Route::any('/user/login', [UserController::class, 'login']);
// 重置密码
Route::post('/user/resetPassword', [UserController::class, 'resetPassword']);
// 获取行业信息
Route::get('/user/getIndustryList', [UserController::class, 'getIndustryList']);

// 获取 banner
Route::get('/banners', [BannerController::class, 'getBanners']);
// 获取文章列表
Route::get('/articles/list', [ArticleController::class, 'getListByType']);
// 获取文章详情
Route::get('/articles/detail', [ArticleController::class, 'getArticleDetail']);
// 获取盏新东窑文章列表
Route::get('/articles/zhanxin', [ArticleController::class, 'getZhanxinArticles']);
// 获取村规民约
Route::get('/articles/villagePromise', [ArticleController::class, 'getVillagePromises']);
// 流动人口-积分政策
Route::get('/articles/score', [ArticleController::class, 'getScore']);
// 企业积分政策
Route::get('/articles/companyScore', [ArticleController::class, 'getCompanyScore']);

// 村情村貌
Route::get('/lookofVillage/list', [LookofVillageController::class, 'getList']);
// 网格管理
Route::get('/grid/list', [GridController::class, 'getLists']);

// 小程序登陆
Route::post('/xcx/login', [XcxController::class, 'xcxLogin']);
// 小程序设置个人信息
Route::post('/xcx/putUserProfile', [XcxController::class, 'xcxReg']);
// 小程序设置手机号
Route::post('/xcx/putUserPhone', [XcxController::class, 'putUserPhone']);

// 寻人启事列表
Route::get('/searchNotice/list', [SearchNoticeController::class, 'getLists']);
// 寻人启事管理员列表
Route::get('/searchNotice/adminList', [SearchNoticeController::class, 'getAdminList']);
// 寻人启事详情
Route::get('/searchNotice/detail', [SearchNoticeController::class, 'detail']);

// 系统消息列表
Route::get('/message/list', [MessageController::class, 'getLists']);
// 系统消息详情
Route::get('/message/detail', [MessageController::class, 'detail']);

// 荣辱榜列表
Route::get('/honor/list', [HonorController::class, 'getLists']);
// 荣辱榜详情
Route::get('/honor/detail', [HonorController::class, 'detail']);

// 发展历程
Route::get('/developing/list', [DevelopingController::class, 'getList']);

// 公司列表
Route::get('/company/list', [CompanyController::class, 'getList']);
// 公司公告列表
Route::get('/companyMessage/list', [CompanyMessageController::class, 'getLists']);
// 企业公告详情
Route::get('/companyMessage/detail', [CompanyMessageController::class, 'detail']);
// 公司详情
Route::get('/company/detail', [CompanyController::class, 'detail']);

// 房屋详情
Route::get('/house/detail', [HouserController::class, 'getHouse']);

// 房东排名
Route::get('/houser/sort', [HouserController::class, 'houserSort']);

// 清风东窑-获取领导列表
Route::get('/qingfeng/leaders', [QingfengController::class, 'getLeaders']);
// 清风东窑-获取职能部门列表
Route::get('/qingfeng/institutions', [QingfengController::class, 'getInstitutions']);

// 广而告之
Route::get('/poster/institutionsList', [PosterInstitutionController::class, 'getLists']);

// 下载文件
Route::get('/download', [UploadController::class, 'download']);
// 管理员登陆
Route::any('/user/adminLogin', [UserController::class, 'adminLogin']);
// 村情村貌
Route::get('/article/getLookofVillage', [ArticleController::class, 'getLookofVillage']);

// 首页背景图
Route::get('/cover/list', [CoverConfigController::class, 'getList']);

// 获取流程图
Route::get('/flow/get', [FlowController::class, 'getFlowFromType']);

// 招聘列表
Route::get('/recruitment/getList', [RecruitmentController::class, 'getRecruitmentList']);
// 招聘详情
Route::get('/recruitment/detail', [RecruitmentController::class, 'detail']);
// 租房列表
Route::get('/rentHouse/getList', [RentHouseController::class, 'getList']);
// 租房详情
Route::get('/rentHouse/detail', [RentHouseController::class, 'detail']);

// 企业荣辱榜列表
Route::get('/companyHonor/list', [CompanyHonorDisgraceController::class, 'getList']);
// 企业荣辱榜详情
Route::get('/companyHonor/detail', [CompanyHonorDisgraceController::class, 'detail']);

Route::middleware('login')->group(function () {
    // 上传用户头像
    Route::post('/user/uploadAvatar', [UploadController::class, 'uploadUserAvatar']);
    // 设置用户信息
    Route::post('/user/setUserInfo', [UserController::class, 'changeUserInfo']);
    // 获取用户详细信息
    Route::get('/user/getUserProfile', [UserController::class, 'getUserProfile']);
    // 获取用户基本信息
    Route::get('/user/getUserInfo', [UserController::class, 'getUserInfo']);
    // 设置用户详细信息
    Route::post('/user/setUserProfile', [UserController::class, 'setUserProfile']);
    // 创建意见
    Route::post('/proposal/create', [ProposalController::class, 'createProposal']);
    // 意见列表
    Route::get('/proposal/list', [ProposalController::class, 'getOwnProposalList']);
    // 意见详情
    Route::get('/proposal/detail', [ProposalController::class, 'getProposalDetail']);
    // 意见打分
    Route::post('/proposal/setScore', [ProposalController::class, 'setScore']);
    // 创建房屋
    Route::post('/houser/createHouse', [HouserController::class, 'createHouse']);
    // 获取我的寻人启事
    Route::get('/searchNotice/mySearch', [SearchNoticeController::class, 'getMySearchNotice']);
    // 给房屋打分
    Route::post('/houseScore/setScore', [HouserScoreController::class, 'setScore']);
    // 获取我给房子打的分数详情
    Route::get('/houseScore/getMySetScore', [HouserScoreController::class, 'getMySetScore']);
    // 获取我给房子的打分列表
    Route::get('/houseScore/getMySetScoreList', [HouserScoreController::class, 'getMySetScoreList']);
    // 获取我租的房子
    Route::get('/user/getMyRentedHouse', [UserController::class, 'getMyRentedHouse']);
    // 获取对我自己的考核结果详情
    Route::get('/assessUser/myAssessDetail', [AssessUserController::class, 'getMyAssessDetail']);
    // 获取我的考核清单
    Route::get('/assessUser/myAssessList', [AssessUserController::class, 'getmyAssessList']);
    // 获取我的房子们
    Route::get('/houser/getMyHouses', [HouserController::class, 'getMyHouses']);
    // 创建清风-意见
    Route::post('/qingfeng/createQingfengProposals', [QingfengController::class, 'createQingfengProposals']);
    // 获取自己的清风-意见
    Route::get('/qingfeng/getMyQingfengProposals', [QingfengController::class, 'getMyQingfengProposals']);
    // 获取自己的清风-意见详情
    Route::get('/qingfeng/getQingfengProposalsDetail', [QingfengController::class, 'getQingfengProposalsDetail']);
    // 房东获取自己的综合分
    Route::get('/houser/getMyFinalScore', [HouserController::class, 'getMyFinalScore']);
    // 录入出入证信息
    Route::post('/user/setPassCard', [UserController::class, 'setPassCardInfo']);
    // 获取出入证信息
    Route::get('/user/getPassCard', [UserController::class, 'getPassCardInfo']);
    // 创建寻人启事
    Route::post('/searchNotice/create', [SearchNoticeController::class, 'create']);
    // 修改密码
    Route::post('/user/updatePassword', [UserController::class, 'updatePassword']);
    // 上报位置
    Route::post('/user/position', [UserController::class, 'setPosition']);
    // 上传任意图片
    Route::post('/image/upload', [UploadController::class, 'uploadImages']);
    // 提交企业申请
    Route::post('/company/setCompanyForCheck', [CompanyController::class, 'setCompanyForCheck']);
    // 获取我的企业
    Route::get('/company/getMyCompanies', [CompanyController::class, 'getMyCompany']);
    // 查看有没有未读消息
    Route::get('/message/checkMessageRed', [MessageController::class, 'checkHaveNotReadMessage']);
    // 上传 layui 富文本图片
    Route::post('/upload/specialUploadLayEdit', [UploadController::class, 'specialUploadLayEdit']);
    // 获取自己的站内信
    Route::get('/adminLetter/getlists', [AdminLetterController::class, 'getMyLetters']);
    // 检查是否有未读站内信
    Route::get('/adminLetter/checkLetterNotRead', [AdminLetterController::class, 'checkHaveLetterNotRead']);
    // 分类型查看是否有未读站内信
    Route::get('/adminLetter/checkLetterNotReadGrouptype', [AdminLetterController::class, 'checkHaveLetterGroupType']);
    // 删除站内信
    Route::post('/adminLetter/delete', [AdminLetterController::class, 'delete']);
    // 将站内信标记为已读
    Route::any('/adminLetter/makeReaded', [AdminLetterController::class, 'makeReaded']);
    // 将所有未读站内信标记为已读
    Route::any('/adminLetter/makeAllReaded', [AdminLetterController::class, 'makeAllReaded']);
    // 分类型将消息设为已读
    Route::post('/adminLetter/makeReadedByType', [AdminLetterController::class, 'makeReadedByType']);
    // 获取考核模版 其实是后台用的
    Route::get('/assessTemplate/getTempToAssess', [AssessTemplateController::class, 'getTempToAssess']);
    // 我的公司考核列表
    Route::get('/company/assessList', [CompanyController::class, 'getCompanyAssessLogList']);
    // 我的公司考核详情
    Route::get('/company/assessDetail', [CompanyController::class, 'getCompanyAssessLogDetail']);
    // 提审招聘信息
    Route::post('/recruitment/setCheck', [RecruitmentController::class, 'setRecruitmentForCheck']);
    // 获取我发布的招聘信息
    Route::get('/recruitment/getMyRecruitment', [RecruitmentController::class, 'getMyRecruitment']);
    // 获取我发布的招聘信息详情
    Route::get('/recruitment/getMyRecruitmentDetail', [RecruitmentController::class, 'getMyRecruitmentDetail']);
    // 提审租房信息
    Route::post('/rentHouse/setCheck', [RentHouseController::class, 'setRentHouseForCheck']);
    // 获取我发布的租房
    Route::get('/rentHouse/getMyRentHouse', [RentHouseController::class, 'getMyRentedHouse']);
    // 获取我的租房的信息
    Route::get('/rentHouse/getMyRentHouseDetail', [RentHouseController::class, 'getMyRentHouseDetail']);
});
